.smart-container{
	padding: 15rpx;
	background-color: #CEFFCE;
}
/* 可以引入 Normalize.css，或者自己编写简单的重置样式 */

.smart-panel{
	margin-bottom: 12px;
}
.smart-panel-title{
	background-color: #f1f1f1;
	font-size: 18px;
	font-weight: normal;
	padding: 5px;
	flex-direction: row;
}
.smart-panel-h{
	background-color: #ffffff;
	flex-direction: row;
	align-items: center;
	padding: 5px;
	margin-bottom: 2px;
}

.smart-panel-head{
	padding: 35prx;
	text-align: center;
}

.smart-panel-head-title{
	font-size: 30rpx;
	height: 88rpx;
	line-height: 80rpx;
	color: #bebebe;
	border-bottom: 2rpx solid #d8d8d8;
	padding: 0 40rpx;
	box-sizing: border-box;
	display: inline-block;
}

.smart-flex{
	display: flex;
}
.smart-row{
	flex-direction: row;
}

.smart-padding-wrap{
	padding: 0 30rpx;
}

.flex-item{
	width: 33.3%;
	height: 200rpx;
	line-height: 200rpx;
	text-align: center;
}
.smart-bg-red{
	background-color: #f76260;
	color: #FFFFFF;
}
.smart-bg-green{
	background-color: #09bb07;
	color: #FFFFFF;
}
.smart-bg-blue{
	background-color: #007aff;
	color: #FFFFFF;
}
.smart-column{
	flex-direction: column;
}
.flex-item-c{
	width: 100%;
	height: 100rpx;
	line-height: 100rpx;
	text-align: center;
}
.text{
	margin: 15rpx 10rpx;
	padding: 0 20rpx;
	background-color: #ebebeb;
	height: 70rpx;
	line-height: 70rpx;
	color: #777;
	font-size: 26rpx;
}

/* scroll-view */
.scroll-view-tiem{
	width: 100%;
	height: 90rpx;	/* 每个item的高度 */
	/* line-height: 300rpx; */
	color: #FFFFFF;
}
.scroll-y{
	height: 300rpx; /* scrollview的显示高度 */
}

.scroll-x{
	white-space: nowrap; /* 强制在同一行显示所有文本 */
	width: 100%;
}
.scroll-view-tiem-h{
	display: inline-block;
	height: 300rpx;
	width: 100%;
	line-height: 300rpx;
	text-align: center;
}

.smart-bg-0{
	background-color: #f76260;
}
.smart-bg-1{
	background-color: #D8D8D8;
}
.smart-bg-2{
	background-color: #AA99FF;
}
.smart-bg-3{
	background-color: #007AFF;
}
/* textview */
.text-box{
	margin-bottom: 40rpx;
	padding: 40rpx 0;
	display: flex;
	min-height: 300rpx;
	background-color: #d8d8d8;
	justify-content: center; /* 元素在主轴（横轴）方向上的对齐方式 */
	text-align: center;
	font-size: 30rpx;
	color: #353535;
	line-height: 1.8;
}
.text-space{
	background-color: #AA99FF;
}
.swiper-item{
	display: block;
	height: 300;
	line-height: 300rpx;
	text-align: center;
}

/* 限制整体内容最大宽度，避免宽屏撑满 */
.scroll-container {
  height: 100vh;
  width: 100%;
  /* 最大宽度设为移动端常见的750rpx（约375px）或根据需求调整 */
  max-width: 750rpx;
  /* 居中显示，避免贴边 */
  margin: 0 auto;
  /* 背景色区分内容区和外部 */
  background-color: #f5f5f5;
}

.swiper {
  height: 300rpx;
  /* 确保轮播图不超出容器 */
  max-width: 100%;
}

.swiper-img {
  width: 100%;
  height: 100%;
  /* 避免图片拉伸变形 */
  object-fit: cover;
}

/* 统一容器样式，增加内边距适配 */
.progress-box, .picker-box, .preference-box, .video-box {
  margin: 20rpx auto; /* 水平居中 */
  padding: 20rpx;
  background-color: #fff;
  border-radius: 10rpx;
  box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
  /* 限制容器最大宽度，和scroll-container保持一致 */
  max-width: calc(100% - 40rpx);
}
.audio-box {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.audio-title {
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.audio-controls {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}

.play-btn {
  width: 80px;
  height: 40px;
  line-height: 40px;
  padding: 0;
}

.progress-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.slotcontent text{
  color: royalblue;
  margin-right: 10rpx;
  }

.audio-slider {
  width: 100%;
  height: 6px;
}

.time-display {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
}

.audio-desc {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

/* 视频组件适配，避免在宽屏中过大 */
video {
  width: 100%;
  max-height: 400rpx; /* 限制视频最大高度 */
}
